﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Bridge.Interface;

namespace Bridge.Circle
{
    public class Circle : Shape
    {
        private int x, y, radiu;

        public Circle(int radiu, int x, int y,DrawAPI drawAPI)
            : base(drawAPI)
        {
            this.radiu = radiu;
            this.x = x;
            this.y = y;
            // base.drawAPI = drawAPI;
        }

        public override void Draw()
        {
            drawAPI.DrawCircle(radiu, x, y);
        }
    }
}
